using System;
using System.Collections.Generic;
using System.Text;
using SqlSugar;
namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 培训任务单主表（流程创建时的任务单明细）
    /// </summary>
    [SugarTable("CourseTrainTask")]
    public class CourseTrainTaskEntity
    {
        /// <summary>
        /// 培训课程明细ID 
        /// </summary>
        [SugarColumn(ColumnName = "CourseTrainTaskId", IsPrimaryKey = true)]
        public string CourseTrainTaskId { get; set; }

        /// <summary>
        /// 培训课程ID 
        /// </summary>
        [SugarColumn(ColumnName = "CourseTrainId")]
        public string CourseTrainId { get; set; }

        /// <summary>
        /// 关键索引 
        /// </summary>
        [SugarColumn(ColumnName = "KeyIndex")]
        public int? KeyIndex { get; set; }
        #region  任务信息
        /// <summary>
        /// 培训课程编号 
        /// </summary>
        public string CourseTrainCode { get; set; }

        /// <summary>
        /// 经办人
        /// </summary>
        public string CreateUserName { get; set; }

        /// <summary>
        /// 经办人工号
        /// </summary>
        public string WorkNumber { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 关联流程实例编号
        /// </summary>
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 所属公司 
        /// </summary>
        [SugarColumn(ColumnName = "Company")]
        public string Company { get; set; }

        /// <summary>
        /// 所属部门 
        /// </summary>
        [SugarColumn(ColumnName = "Department")]
        public string Department { get; set; }

        /// <summary>
        /// 培训项目
        /// </summary>
        public string TraningProject { get; set; }

        /// <summary>
        /// 培训年月 
        /// </summary>
        public DateTime? TrainDate { get; set; }

        /// <summary>
        /// 是否预算内 
        /// </summary>
        [SugarColumn(ColumnName = "IfInBudget")]
        public bool? IfInBudget { get; set; }
        #endregion
        #region 课程信息

        /// <summary>
        /// 课程名称 
        /// </summary>
        public string CourseName { get; set; }

        /// <summary>
        /// 课程代码
        /// </summary>
        public string CourseCode { get; set; }

        /// <summary>
        /// 培训人数 
        /// </summary>
        [SugarColumn(ColumnName = "TrainUserNumber")]
        public int? TrainUserNumber { get; set; }

        /// <summary>
        /// 课时 
        /// </summary>
        public string CoursePeriod { get; set; }

        /// <summary>
        /// 讲师 
        /// </summary>
        [SugarColumn(ColumnName = "Instructor")]
        public string Instructor { get; set; }

        /// <summary>
        /// 预算 
        /// </summary>
        [SugarColumn(ColumnName = "TrainUserBudget")]
        public decimal? TrainUserBudget { get; set; }

        /// <summary>
        /// 授课模式 
        /// </summary>
        [SugarColumn(ColumnName = "TechMethod")]
        public string TechMethod { get; set; }

        /// <summary>
        /// 课程类型 
        /// </summary>
        [SugarColumn(ColumnName = "CourseType")]
        public string CourseType { get; set; }

        /// <summary>
        /// 培训对象 
        /// </summary>
        [SugarColumn(ColumnName = "TraningTarget")]
        public string TraningTarget { get; set; }

        /// <summary>
        /// 培训开始时间 
        /// </summary>
        [SugarColumn(ColumnName = "BeginTime")]
        public DateTime? BeginTime { get; set; }

        /// <summary>
        /// 培训结束时间 
        /// </summary>
        [SugarColumn(ColumnName = "EndTime")]
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 授课开始时间 
        /// </summary>
        [SugarColumn(ColumnName = "CourseBeginTime")]
        public string CourseBeginTime { get; set; }

        /// <summary>
        /// 授课结束时间 
        /// </summary>
        [SugarColumn(ColumnName = "CourseEndTime")]
        public string CourseEndTime { get; set; }

        /// <summary>
        /// 授课地点
        /// </summary>
        public string CourseAddress { get; set; }
        #endregion
        #region 组织部门费用汇总
        /// <summary>
        /// 杂费
        /// </summary>
        public decimal? OrgCost1 { get; set; }

        /// <summary>
        /// 餐费
        /// </summary>
        public decimal? OrgCost2 { get; set; }

        /// <summary>
        /// 差旅费
        /// </summary>
        public decimal? OrgCost3 { get; set; }

        /// <summary>
        /// 组织费用4
        /// </summary>
        public decimal? OrgCost4 { get; set; }

        /// <summary>
        /// 组织费用5
        /// </summary>
        public decimal? OrgCost5 { get; set; }

        /// <summary>
        /// 组织费用6
        /// </summary>
        public decimal? OrgCost6 { get; set; }

        /// <summary>
        /// 组织费用汇总
        /// </summary>
        public decimal? OrgCostTotal { get; set; }
        #endregion
        #region 参训人员费用汇总

        /// <summary>
        /// 实际听课人数
        /// </summary>
        public int? ActrualUsers { get; set; }

        /// <summary>
        /// 住宿费
        /// </summary>
        public decimal? HotelFee { get; set; }

        /// <summary>
        /// 交通费
        /// </summary>
        public decimal? TransportFee { get; set; }

        /// <summary>
        /// 津贴
        /// </summary>
        public decimal? SubsideFee { get; set; }

        /// <summary>
        /// 课程费用
        /// </summary>
        public decimal? CourseFee { get; set; }

        /// <summary>
        /// 分摊费用
        /// </summary>
        public decimal? ShareFee { get; set; }

        /// <summary>
        /// 参训人员费用汇总
        /// </summary>
        public decimal? TrainTotalFee { get; set; }
        #endregion

        /// <summary>
        /// iLearning编号
        /// </summary>
        public string ILearningCode { get; set; }

        /// <summary>
        /// 用餐次数 
        /// </summary>
        [SugarColumn(ColumnName = "MealFrequency")]
        public int? MealFrequency { get; set; }

        /// <summary>
        /// 是否享受差旅津贴 
        /// </summary>
        [SugarColumn(ColumnName = "IfAllowance")]
        public bool? IfAllowance { get; set; }

        /// <summary>
        /// 是否获得证书 
        /// </summary>
        [SugarColumn(ColumnName = "IsObtainCert")]
        public bool? IsObtainCert { get; set; }

        /// <summary>
        /// 任务状态 
        /// </summary>
        public int? Status { get; set; }

        /// <summary>
        /// 任务状态 
        /// </summary>
        public string StatusName { get; set; }
    }
}
